package com.youyou.fusheng2.Utils;

import android.app.Activity;
import android.content.Context;
import android.view.Window;
import android.view.WindowManager;

/**
 * @name fusheng2
 * @class name：com.youyou.fusheng2.Utils
 * @anthor 浮生 QQ:2567294605
 * @time 2020/9/8 14:44
 * @to
 */
public class WindowTouMing {

    private Activity context;

    public WindowTouMing(Activity context) {
        this.context = context;
    }

    public void windoe(){
        context.requestWindowFeature(Window.FEATURE_NO_TITLE);
        context.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FULLSCREEN);
    }
}
